import {buildProps} from "@/utils/props";
import {ExtractPropTypes} from "vue";

export const GMessageProps = buildProps({
  msg: {
    type: String,
    default: null,
  },
  confirmBtn: {
    type: String,
    default: null,
  },
  cancelBtn: {
    type: String,
    default: null,
  }
})

export type GMessageProps = ExtractPropTypes<typeof GMessageProps>

export const GMessageEmits = {
  confirm: null,
  cancel: null,
}

export type GMessageEmits = typeof GMessageEmits;
